function generateMix() {
    return Math.ceil(1e3 * Math.random())
}

excutePP = function(s, e) {
    for (var t = "", o = 0; o < s.length; o++) {
        var l = e ^ s.charCodeAt(o);
        t += String.fromCharCode(l)
    }
    return encodeURIComponent(t)
}

e = generateMix();
console.log(excutePP("123123", e))